package com.test.motion;

import android.app.Activity;
import android.os.Bundle;
import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnTouchListener;

public class DotActivity extends Activity implements OnTouchListener{
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		Dot dot = new Dot(this, null);
		setContentView(dot);
		dot.setOnTouchListener(this);
	}

	@Override
	public boolean onTouch(View v, MotionEvent event) {
		v.onTouchEvent(event);
		return true;
	}

}
